<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/4/6 0006
 * Time: 18:43
 */

namespace app\index\controller;


use think\Controller;

class Author extends Controller
{
    public function index(){
        $data = db('welfare')->select();
//        dump($data);die;
        $this->assign([
            'data' => $data
        ]);
        return view("index");
    }
}